
<div class="center_content">
    <div class="center_title_bar"><?php echo $category->name; ?></div>
    <?php
    foreach ($category->products as $product)
    {
        ?>
        <div class="prod_box">
            <div class="top_prod_box"></div>
            <div class="center_prod_box">
                <div class="product_title"><a href="details.html">
                        <?php echo CHtml::link($product->title, $product->PublicUrl) ?>
                    </a></div>
                <div class="product_img"><a href="<?php echo $product->PublicUrl; ?>"><?php echo CHtml::image($this->assetDir . $product->thumbnail) ?></a></div>
                <?php
                $product->sale = ($product->sale / $this->rate->rate);
                $product->price = ($product->price / $this->rate->rate);
                ?>
                <div class="prod_price"><span class="reduce"><?php echo number_format(round($product->price,2)); ?><?php echo $this->rate->symbols ?></span> <span class="price"> <?php echo number_format(round($product->sale,2)); ?><?php echo $this->rate->symbols ?></span></div>
            </div>
            <div class="bottom_prod_box"></div>
            <div class="prod_details_tab"> <a href="#" title="header=[Add to cart] body=[&nbsp;] fade=[on]"><img src="<?php echo $this->assetDir . '/assets/images/cart.gif'; ?>" alt="" border="0" class="left_bt" /></a> 
                <a href="http://all-free-download.com//free-website-templates/" title="header=[Specials] body=[&nbsp;] fade=[on]">
                    <img src="<?php echo $this->assetDir . '/assets/images/favs.gif'; ?>" alt="" border="0" class="left_bt" /></a> <a href="http://all-free-download.com/free-website-templates/" title="header=[Gifts] body=[&nbsp;] fade=[on]">
                    <img src="<?php echo $this->assetDir . '/assets/images/favs.gif'; ?>" alt="" border="0" class="left_bt" /></a> <a href="details.html" class="prod_details">details</a> </div>
        </div>
    <?php } ?>

</div>
<!-- end of center content -->
